package com.lrh.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lrh.reggie.common.R;
import com.lrh.reggie.entity.ShoppingCart;
import org.springframework.web.bind.annotation.RequestBody;


public interface ShoppingCartService extends IService<ShoppingCart> {

    //添加菜品和套餐 到 购物车
    public ShoppingCart addShoppingCart(ShoppingCart shoppingCart);

    //减少  购物车  的 菜品和套餐
    public ShoppingCart subShoppingCart(ShoppingCart shoppingCart);

    //清空购物车
    public void clean();
}
